# Makefile for the Linux network IOT device drivers.
#

KERNEL_DIR := /home/han/fire-linux/ebf_linux_kernel_6ull_depth1
PWD := $(shell pwd)
MODULE_NAME = LCD

obj-m += $(MODULE_NAME).o
obj-$(MODULE_NAME) += LCD.c
obj-$(MODULE_NAME) += imx6ull_elcdif.h

modules:
	make -C $(KERNEL_DIR) M=$(PWD) modules

clean:
	make -C $(KERNEL_DIR) M=$(PWD) clean
	rm -rf $(PWD)/build

.PHONY: modules move clean
